<template>
    <el-container>
        <el-button plain @click="showUpdate">
            编辑
        </el-button>
        <el-button plain @click="doCancel" v-if="hasCancle">
            取消
        </el-button>
    </el-container>
</template>
<script>
export default {
    name: 'UpdateOrderButton',
    data() {
        return {};
    },
    props: {
        hasCancle: {},
        showUpdate: {
            type: Function
        },
        doCancel: {
            type: Function
        }
    }
};
</script>
<style scoped>
.el-button {
    margin: 0px;
}
</style>
